package com.yunc.modules.shop.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yunc.base.SuperMapper;
import com.yunc.modules.shop.entity.Cart;
import com.yunc.modules.shop.entity.dto.CartDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartMapper extends SuperMapper<Cart> {

    List<CartDTO> pageInfo(Page<Cart> page, @Param("cart")Cart cart);
}
